/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    Image,
    ScrollView
} from 'react-native';
var TopBanner = require('../../Component/Comment/TopBanner');
var LazyFoodsList = require('./LazyFoodsList');
var LazyFoods= React.createClass({
    render() {
        return (
            <View style={styles.container}>
                <TopBanner
                    leftIcon="back"
                    title="风味小吃"
                    rightTitle="排序"
                    leftPress={()=>{this.props.navigator.pop();this.props._callback(null);}}
                />
                <ScrollView style={{padding:10}}>
                    <LazyFoodsList/>
                </ScrollView>
            </View>
        );
    }
});
const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor: '#ffffff',
        position:'relative'
    }
});
module.exports = LazyFoods;